package com.cheng.data.vo;

import java.util.List;

/**
 * @author: ChengJW
 * @date: 2021/11/14 23:44
 * @version: 1.0
 * @description: layui 树形结构统一封装返回信息
 */
public class TreeVO {

    /** 节点id*/
    private String id;

    /** 节点标题*/
    private String title;

    /** 下级节点信息*/
    private List<TreeVO> children;

    /** 节点路径*/
    private String href;

    /** 是否选中*/
    private boolean checked;

    /** 是否禁用*/
    private boolean disabled;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public List<TreeVO> getChildren() {
        return children;
    }

    public void setChildren(List<TreeVO> children) {
        this.children = children;
    }

    public String getHref() {
        return href;
    }

    public void setHref(String href) {
        this.href = href;
    }

    public boolean isChecked() {
        return checked;
    }

    public void setChecked(boolean checked) {
        this.checked = checked;
    }

    public boolean isDisabled() {
        return disabled;
    }

    public void setDisabled(boolean disabled) {
        this.disabled = disabled;
    }
}
